home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-10-01 | 6.3 KB | 169 lines | [TEXT/MPS ] |
- # Copyright 1991 by Norman Ramsey. All rights reserved.
- # See file COPYRIGHT for more information.
- #
- # Adjust these two lines for your ANSI C compiler
-
- C68K = MWC68K
- CPPC = MWCPPC
- COptions = -w off -d DEBUGGING -d macintosh -sym on -mbg on
- COptions68K = {COptions} -mc68020 -model far
- COptionsPPC = {COptions}
- Link68K = MWLink68K -mpwtool
- LinkPPC = MWLinkPPC -application -c 'MPS ' -t 'MPST'
- LOptions = -sym on -w
- LOptions68K = {LOptions} -model far
- LOptionsPPC = {LOptions}
- ROptions = -i :
-
- LibFiles68K = "{MW68KLibraries}GUSIDispatch.Lib.68K" ∂
- "{MW68KLibraries}GUSIMPW.Lib.68K" ∂
- "{MW68KLibraries}MPW ANSI (4i/F/8d) C.68K.Lib" ∂
- "{MW68KLibraries}MacOS.Lib" ∂
- "{MW68KLibraries}CPlusPlus.lib" ∂
- "{MW68KLibraries}GUSI.Lib.68K" ∂
- "{MW68KLibraries}ToolLibs.o" ∂
- "{MW68KLibraries}MathLib68K (4i/f/8d).Lib" ∂
- "{MW68KLibraries}PLStringFuncs.glue.lib"
-
- LibFilesPPC = "{MWPPCLibraries}GUSIMPW.Lib.PPC" ∂
- "{MWPPCLibraries}GUSI.Lib.PPC" ∂
- "{MWPPCLibraries}MWStdCRuntime.Lib" ∂
- "{MWPPCLibraries}InterfaceLib" ∂
- "{MWPPCLibraries}ANSI (NL) C++.PPC.Lib" ∂
- "{MWPPCLibraries}ANSI (NL) C.PPC.Lib" ∂
- "{MWPPCLibraries}StdCLib" ∂
- "{MWPPCLibraries}MathLib" ∂
- "{MWPPCLibraries}PPCToolLibs.o"
-
- # after installation, make doc.dvi for literate version
-
- O = :Obj:
- FINDUSESOBJS68K = ∂
- {O}columns.c.o.68K {O}errors.c.o.68K {O}finduses.c.o.68K {O}match.c.o.68K ∂
- {O}getline.c.o.68K {O}recognize.c.o.68K
- MNTOBJS68K = ∂
- {O}mnt.c.o.68K {O}getline.c.o.68K {O}match.c.o.68K {O}modules.c.o.68K ∂
- {O}modtrees.c.o.68K {O}notangle.c.o.68K {O}strsave.c.o.68K {O}errors.c.o.68K ∂
- {O}columns.c.o.68K
- TANGLEOBJS68K = ∂
- {O}notangle.c.o.68K {O}getline.c.o.68K {O}match.c.o.68K {O}modules.c.o.68K ∂
- {O}modtrees.c.o.68K {O}strsave.c.o.68K {O}main.c.o.68K {O}errors.c.o.68K ∂
- {O}columns.c.o.68K
- MARKUPOBJS68K = ∂
- {O}markmain.c.o.68K {O}strsave.c.o.68K {O}markup.c.o.68K {O}errors.c.o.68K ∂
- {O}getline.c.o.68K {O}columns.c.o.68K
- FINDUSESOBJSPPC = ∂
- {O}columns.c.o.PPC {O}errors.c.o.PPC {O}finduses.c.o.PPC {O}match.c.o.PPC ∂
- {O}getline.c.o.PPC {O}recognize.c.o.PPC
- MNTOBJSPPC = ∂
- {O}mnt.c.o.PPC {O}getline.c.o.PPC {O}match.c.o.PPC {O}modules.c.o.PPC ∂
- {O}modtrees.c.o.PPC {O}notangle.c.o.PPC {O}strsave.c.o.PPC {O}errors.c.o.PPC ∂
- {O}columns.c.o.PPC
- TANGLEOBJSPPC = ∂
- {O}notangle.c.o.PPC {O}getline.c.o.PPC {O}match.c.o.PPC {O}modules.c.o.PPC ∂
- {O}modtrees.c.o.PPC {O}strsave.c.o.PPC {O}main.c.o.PPC {O}errors.c.o.PPC ∂
- {O}columns.c.o.PPC
- MARKUPOBJSPPC = ∂
- {O}markmain.c.o.PPC {O}strsave.c.o.PPC {O}markup.c.o.PPC {O}errors.c.o.PPC ∂
- {O}getline.c.o.PPC {O}columns.c.o.PPC
- FILES = ∂
- markmain.nw markup.nw main.nw notangle.nw match.nw ∂
- mnt.nw modules.nw modtrees.nw finduses.nw recognize.nw ∂
- getline.nw columns.nw errors.nw strsave.nw
- SRCS = ∂
- columns.h errors.h getline.h markup.h match.h ∂
- modtrees.h modules.h notangle.h recognize.h strsave.h ∂
- columns.c errors.c getline.c finduses.c main.c ∂
- markmain.c markup.c match.c mnt.c modtrees.c ∂
- modules.c notangle.c readme.c recognize.c strsave.c
-
- :Obj: ƒ :
- .c.o.68K ƒ .c
- {C68K} {COptions68K} -s {Default} {DepDir}{Default}.c -o {TargDir}{Default}.c.o.68K
- .c.o.PPC ƒ .c
- {CPPC} {COptionsPPC} -s {Default} {DepDir}{Default}.c -o {TargDir}{Default}.c.o.PPC
- .tex ƒ .nw
- noweave {Default}.nw >{Default}.tex
- .c ƒ .nw
- notangle {Default}.nw>{Default}.c
- .h ƒ .nw
- notangle -Rheader {Default}.nw | cpif {Default}.h
-
- all ƒ nt markup mnt finduses
-
- nt.68K ƒ {TANGLEOBJS68K}
- {Link68K} {LOptions68K} -o nt.68K {LibFiles68K} {TANGLEOBJS68K}
- nt.PPC ƒ {TANGLEOBJSPPC}
- {LinkPPC} {LOptionsPPC} -o nt.PPC {LibFilesPPC} {TANGLEOBJSPPC}
- nt ƒ nt.68K nt.PPC
- Duplicate -y nt.PPC nt
- Echo 'Include "nt.68K" '∂''CODE'∂'';Include "nt.68K" '∂''DATA'∂'';' ∂
- | Rez -a -c 'MPS ' -t MPST -o nt
- UnPreload nt
-
- finduses.68K ƒ {FINDUSESOBJS68K}
- {Link68K} {LOptions68K} -o finduses.68K {LibFiles68K} {FINDUSESOBJS68K}
- finduses.PPC ƒ {FINDUSESOBJSPPC}
- {LinkPPC} {LOptionsPPC} -o finduses.PPC {LibFilesPPC} {FINDUSESOBJSPPC}
- finduses ƒ finduses.68K finduses.PPC
- Duplicate -y finduses.PPC finduses
- Echo 'Include "finduses.68K" '∂''CODE'∂'';Include "finduses.68K" '∂''DATA'∂'';' ∂
- | Rez -a -c 'MPS ' -t MPST -o finduses
- UnPreload finduses
-
- markup.68K ƒ {MARKUPOBJS68K}
- {Link68K} {LOptions68K} -o markup.68K {LibFiles68K} {MARKUPOBJS68K}
- markup.PPC ƒ {MARKUPOBJSPPC}
- {LinkPPC} {LOptionsPPC} -o markup.PPC {LibFilesPPC} {MARKUPOBJSPPC}
- markup ƒ markup.68K markup.PPC
- Duplicate -y markup.PPC markup
- Echo 'Include "markup.68K" '∂''CODE'∂'';Include "markup.68K" '∂''DATA'∂'';' ∂
- | Rez -a -c 'MPS ' -t MPST -o markup
- UnPreload markup
-
- mnt.68K ƒ {MNTOBJS68K}
- {Link68K} {LOptions68K} -o mnt.68K {LibFiles68K} {MNTOBJS68K}
- mnt.PPC ƒ {MNTOBJSPPC}
- {LinkPPC} {LOptionsPPC} -o mnt.PPC {LibFilesPPC} {MNTOBJSPPC}
- mnt ƒ mnt.68K mnt.PPC
- Duplicate -y mnt.PPC mnt
- Echo 'Include "mnt.68K" '∂''CODE'∂'';Include "mnt.68K" '∂''DATA'∂'';' ∂
- | Rez -a -c 'MPS ' -t MPST -o mnt
- UnPreload mnt
-
- source ƒ {SRCS}
-
- # clean: ; rm -f nt markup mnt finduses
- # rm -f core *.makelog *.tex *.log *.blg *.dvi *.o *.toc *~
-
- # veryclean: clean
- # rm -f $(SRCS)
-
- # checkin: $(FILES) doc.nw
- # ci -n'$(NAME)' -l -f -m'checked in as version named $(NAME)' $(FILES) doc.nw
-
- # doc.tex: doc.nw
- # cp doc.nw doc.tex
-
- # allcode.tex: $(FILES)
- # noweave -n -index $(FILES) > allcode.tex
-
- # doc.dvi: doc.tex allcode.tex
- # latex doc
-
- {O}columns.c.o ƒ columns.h
- {O}errors.c.o ƒ errors.h
- {O}finduses.c.o ƒ errors.h match.h getline.h recognize.h
- {O}getline.c.o ƒ columns.h errors.h getline.h
- {O}main.c.o ƒ notangle.h errors.h columns.h
- {O}markmain.c.o ƒ errors.h markup.h getline.h columns.h
- {O}markup.c.o ƒ markup.h strsave.h errors.h
- {O}match.c.o ƒ match.h
- {O}mnt.c.o ƒ modules.h modtrees.h notangle.h errors.h columns.h strsave.h
- {O}modtrees.c.o ƒ strsave.h modules.h modtrees.h errors.h
- {O}modules.c.o ƒ modules.h modtrees.h errors.h columns.h strsave.h
- {O}notangle.c.o ƒ strsave.h getline.h modules.h modtrees.h notangle.h errors.h
- {O}readme.c.o ƒ
- {O}recognize.c.o ƒ
- {O}strsave.c.o ƒ strsave.h errors.h
-